package ltd.hxya.novel.admin.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.StringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import ltd.hxya.novel.admin.entity.Operation;
import ltd.hxya.novel.common.bean.BaseEntity;

import java.util.List;

@Data
public class RoleVo extends BaseEntity {
    //Role信息
    @ApiModelProperty(value = "角色id")
    private String roleId;

    @ApiModelProperty(value = "角色名")
    private String roleName;

    @ApiModelProperty(value = "角色key值")
    private String roleKey;

    @ApiModelProperty(value = "管理员等级")
    private Integer roleLevel;

    @ApiModelProperty(value = "管理员状态 0:删除 1:正常")
    private Boolean roleStatus;


    //Role相对应的权限信息
    private List<Operation> operations;

}
